/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package NIOCommunication;

/**
 *
 * @author Miles
 */
public class NIOProcessorRegisterTimeoutCommand extends NIOProcessorCommand
{
    NIOSocketContext mContext;
    
    public NIOProcessorRegisterTimeoutCommand(NIOSocketContext context)
    {
        mContext = context;
    }
    
    public void Execute(NIOProcessor processor)
    {
        processor.SetConnectionTimeout(mContext);   
    }
}
